<template>
    <div>
        <ItemCom 
        v-for="(item,index) in todoList" 
        :key="index" 
        :item="item"
        :del="del"
        :index="index"
        :changeFlag="changeFlag"
        >
    </ItemCom>
    </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import ItemCom from "./ItemCom.vue"

export default defineComponent({
    props:["todoList","del","changeFlag"],
    components:{
        ItemCom
    },
    setup () {
        

        return {}
    }
})
</script>

<style scoped>

</style>